<div id="notif">
    {% for message in app.session.flashbag.get('success') %}
        <div class="alert alert-success" >
            <a class="close" data-dismiss="alert" href="#">x</a>
            {{ message }}
        </div>
    {% endfor %}
    {% for message in app.session.flashbag.get('info') %}
        <div class="alert alert-info" >
            <a class="close" data-dismiss="alert" href="#">x</a>
            {{ message }}
        </div>
    {% endfor %}
    {% for message in app.session.flashbag.get('error') %}
        <div class="alert alert-error" >
            <a class="close" data-dismiss="alert" href="#">x</a>
            {{ message }}
        </div>
    {% endfor %}
    {% for message in app.session.flashbag.get('notice') %}
        <div class="alert alert-block" >
            <a class="close" data-dismiss="alert" href="#">x</a>
            {{ message }}
        </div>
    {% endfor %}
</div>